package com.homedo.microservice.open.service.gateway.zuul.constant;

public abstract class ZuulConstant {
    //默认的服务配置  用于拦截所有的路径
    public static final String DEFAULT_SERVICE_ID = "_default_service_id";

    //路由前缀分隔标志
    public static final String ZUUL_ROUTE_ADD_PREFIX_SPLIT = "____";
    //真实路由地址分隔标志
    public static final String ZUUL_ROUTE_ADD_PREFIX_SPLIT_PATH = "@";

    //路由添加前缀标志
    public static final String ZUUL_ROUTE_ADD_PREFIX = "_ZUUL_ROUTE_ADD_PREFIX";
    //路由是否经过域名过滤器
    public static final String ZUUL_IS_ACCESSED_ROUTE_DOMAIN_FILTER = "isAccessedRouteDomainFilter";

    //版本路由参数
    public static final String ZUUL_ROUTE_VERSION_PARAMETER = "zuul.route.version.parameter";
    //路由是否经过版本过滤器
    public static final String ZUUL_IS_ACCESSED_ROUTE_VERSION_FILTER = "isAccessedRouteVersionFilter";

    //路由是否经过版本过滤器
    public static final String ZUUL_IS_ACCESSED_ZUUL_HOST_PRE_FILTER = "isAccessedZuulHostPreFilter";

    //强制使用固定的路由
    public static final String ZUUL_ROUTE_USE_FORCE_ROUTE = "_ZUUL_ROUTE_USE_FORCE_ROUTE";

}
